{include file="header.tpl" title="Bao tri lai suat"}
<form action="" method="post" name ="tongquat" target="_self">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td colspan="2">
<input type="button" value="{$ten_trove}" onclick="history.back();" class="button_style" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"></td>
<td align="right" nowrap="nowrap" colspan="2">
<select name="hanhdong" size="1" onchange="changevalue('hanhdong');">
   {foreach from=$chuyentrang key=k item=v}
      <option value="{$k}" {if $select_cbo_chuyentrang eq $k} selected="selected" {/if}>{$v}</option>
 	{/foreach}
</select>
<input name="action" type="submit" value="{$ten_thuc_hien}" class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"/></td>
</tr>
<tr>
<td colspan="4">
<hr></td>
</tr>
  <tr>
    <td width="15%">{$lbl_malaisuat}</td>
    <td colspan="3" style="color:#FF0000"><input name="CODE" id="CODE" type="text" style="background:{$colormaLS}" value="{$CODE}" size="20" maxlength="5"/>
     * 
      <input type="submit" name="find" value="    " id="replacement_find" {if $activefield eq 'enabled' } disabled="disabled"{/if} /></td>
  </tr>
  <tr>
    <td>{$lbl_machinhanh}</td>
    <td colspan="3"><span style="color:#FF0000">
      <input name="BRNCODE" id="BRNCODE" type="text" value="{$BRNCODE}" style="background:{$colormaCN}" size="20" maxlength="3"/>
    * 
    <input type="button" onclick="mywindow = window.open('chi_nhanh_id.php', 'mywindow','menubar=0,resizable=yes,width=800,height=300, scrollbars=yes');mywindow.moveTo((screen.width-800)/2,screen.height/2);" name="findchinhanh" id="replacement_binoculars" value="     " {if $activefield eq 'enabled' } disabled="disabled" {/if}>
    </span></td>
  </tr>
  <tr>
    <td>{$lbl_ten_laisuat}</td>
    <td colspan="3"><span style="color:#FF0000">
      <input id="NAME" name="NAME" type="text" value="{$NAME}" size="50" maxlength="50" />
    *</span></td>
    </tr>
  <tr>
    <td>{$lbl_ngayhieuluc}</td>
    <td colspan="3">
	
	<input id="EFFDATE" type="text" value="{$date}" onfocus="this.select();lcs(this)" onclick="event.cancelBubble=true;this.select();lcs(this)" name="EFFDATE" size="20">	</td>
    </tr>
  <tr>
    <td>{$lbl_laisuat}</td>
    <td colspan="3">
      <input id="RATE" name="RATE" type="text" value="{$RATE}" size="20" maxlength="7" style="text-align:right;" onBlur="checkDecimal(this,this.value)" onkeypress="return numberOnly(event);"/>
    % n&#259;m <span style="color:#FF0000">*</span></td>
    </tr>
  <tr>
    <td nowrap="nowrap">{$lbl_laisuattoithieu}</td>
    <td nowrap="nowrap">
      <input id="MINRATE" name="MINRATE" type="text" value="{$MINRATE}" size="20" maxlength="7" onBlur="checkDecimal(this,this.value)" onkeypress="return numberOnly(event);" style="text-align:right;" />
    % n&#259;m <span style="color:#FF0000">*</span></td>
    <td nowrap="nowrap" width="15%">{$lbl_laisuattoida}</td>
    <td nowrap="nowrap">
      <input id="MAXRATE" name="MAXRATE" type="text" value="{$MAXRATE}" size="20" maxlength="7" onBlur="checkDecimal(this,this.value)" onkeypress="return numberOnly(event);" style="text-align:right;"/>
    % n&#259;m <span style="color:#FF0000">*</span></td>
  </tr>
<tr>
<td colspan="4">
<p>&nbsp;</p>
<p>&nbsp;</p>
</td>
</tr>
<tr>
<td colspan="4" align="right" nowrap="nowrap">
	<input type="submit" name="capnhat" id="capnhat" style="visibility:hidden" value="{$ten_cap_nhat}"/>
    <input type="button" name="cancle" id="cancle" value="{$ten_cancle}" class="button_style" onclick="clearForm();" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" />	
	<input type="submit" id="kiemtra" name="kiemtra" value="{$ten_cap_nhat}"  class="button_style"  onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'" />
	</td>
  </tr>
<tr>
<td colspan="4" align="left" nowrap="nowrap">
<input name="addnew" type="submit" value="{$ten_themmoi}" class="button_style" onclick="" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" />
<input name="detail" type="submit" value="{$ten_chitiet}" class="button_style" onclick="" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" /></td>
</tr>
<tr>
<td colspan="4"><hr></td>
</tr>

<tr>
<td colspan="3">
<input type="button" value="{$ten_trove}" onclick="history.back();" class="button_style" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"></td>
<td align="right" nowrap="nowrap"> 
<select name="hanhdong1" size="1" onchange="changevalue('hanhdong1');">
   {foreach from=$chuyentrang key=k item=v}
      <option value="{$k}" {if $select_cbo_chuyentrang eq $k} selected="selected" {/if}>{$v}</option>
 	{/foreach}
</select>
<input name="action" type="submit" value="{$ten_thuc_hien}" class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"></td>
</tr>
</table>

</form>
{$javascriptsetstyle}
{$javatest}
{include file="footer.tpl"}
